Package com.cisco.pt.ipc.sim
Interface WirelessServerProcess
- All Superinterfaces:
IPCObject,Process,WirelessCommon
- All Known Implementing Classes:
WirelessServerProcessImpl
Information provided by the PKI file:
\class WirelessServerProcess
\brief WirelessServerProcess handles and manipulates wireless servers.
\example network().getDevice("PC0").getProcess("WirelessServer")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoidInformation provided by the PKI file:Information provided by the PKI file:getMacAddressAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetAllowAccess(boolean enable) Information provided by the PKI file:voidsetMacFilterEnabled(boolean enable) Information provided by the PKI file:voidsetSsidBrdCastEnabled(boolean enabled) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDeviceMethods inherited from interface com.cisco.pt.ipc.sim.WirelessCommon
getAuthenType, getEncryptType, getNetworkType, getPort, getRadioBand, getSsid, getStandardChannel, getWepProcess, getWideChannel, getWpaProcess, setAuthenType, setEncryptType, setNetworkType, setPort, setRadioBand, setSsid, setStandardChannel, setWideChannel
-
Method Details
-
isMacFilterEnabled
boolean isMacFilterEnabled()Information provided by the PKI file:
\brief Gets the mac filtering enable or disable state. \return Whether mac filtering is enabled or disabled. True is enabled.- Returns:
- boolean Returns a boolean
-
setMacFilterEnabled
void setMacFilterEnabled(boolean enable) Information provided by the PKI file:
\brief Enables/Disables wireless mac filtering. \param enable Whether to enable or disable it.- Parameters:
enable- Takes in a parameter of enable
-
setAllowAccess
void setAllowAccess(boolean enable) Information provided by the PKI file:
\brief Sets the mode to allow access from listed mac addresses, or deny access for listed mac addresses \param enable true means allow listed mac addresses to use it. false means deny listed mac addresses.- Parameters:
enable- Takes in a parameter of enable
-
isAccessAllowed
boolean isAccessAllowed()Information provided by the PKI file:
\brief Gets the mode to allow access from listed mac addresses, or deny access for listed mac addresses \return If the current mode is to allow access or deny access. True mean listed macs are allowed.- Returns:
- boolean Returns a boolean
-
removeAllMacEntries
void removeAllMacEntries()Information provided by the PKI file:
\brief Clears the mac filtering table -
getAllMacEntries
List<MACAddress> getAllMacEntries()Information provided by the PKI file:
\brief Gets all of the mac entries- Returns:
- List<MACAddress> Returns a List<MACAddress>
-
getMacAddressCount
int getMacAddressCount()Information provided by the PKI file:
\brief Gets the count of the mac addresses- Returns:
- int Returns a int
-
getMacAddressAt
Information provided by the PKI file:
\brief Gets the mac entry at index \param index the index of the desired mac address- Parameters:
index- Takes in a parameter of index- Returns:
- MACAddress Returns a MACAddress
-
resetAllAssociations
void resetAllAssociations()Information provided by the PKI file:
\brief Resets wireless client associations so that the new filters will affect existing associations.- Specified by:
resetAllAssociationsin interfaceWirelessCommon
-
addToMacFilterAddrList
Information provided by the PKI file:
\brief Add a mac address to the filtering table \param mac String of the mac address \return bool whether adding was successful. Adding an existing mac will be considered successful.- Parameters:
addr- Takes in a parameter of addr
-
removeFromMacFilterAddrList
Information provided by the PKI file:
\brief Removes a mac address from the filtering table \param mac The mac addres to remove- Parameters:
addr- Takes in a parameter of addr
-
isSsidBrdCastEnabled
boolean isSsidBrdCastEnabled()Information provided by the PKI file:
\brief Check if ssid broadcast is enabled \returns bool, true if ssid broadcast is enabled and false if not- Returns:
- boolean Returns a boolean
-
setSsidBrdCastEnabled
void setSsidBrdCastEnabled(boolean enabled) Information provided by the PKI file:
\brief Set Ssid broadcast enabled \param enabled, true if ssid broadcast is enabled and false if not- Parameters:
enabled- Takes in a parameter of enabled
-